<form method="post" action="" enctype="multipart/form-data">
<div class="admin_right_top">添加促销活动</div>
<table width="100%" border="0" align="center" cellpadding="6" cellspacing="1" bgcolor="#dddddd" class="admin_table">
    <tr>
        <td width="16%" align="left" bgcolor="#EAEFF3"> 活动类型<font color="red"> *</font></td>
        <td width="84%" bgcolor="#FFFFFF" style="font-weight:normal">
            <select name="catid">
                <option value="">一级分类</option>
                <{0|list_all_cat:'option'}>
            </select>
        </td>
    </tr>
    <tr>
        <td bgcolor="#EAEFF3">活动标题<font color="red"> *</font> </td>
        <td bgcolor="#FFFFFF">
            <input maxlength="100" name="title" type="text" id="title" style="width:220px;" value="<{$de.title}>" />               </td>
    </tr>
    <tr>
        <td bgcolor="#EAEFF3">起止时间<font color="red"> *</font> </td>
        <td bgcolor="#FFFFFF">
            <input type="text" size="20" value="<{$de.stime|date_format:'%Y%m%d'}>" name="stime">-<input type="text" size="20" value="<{$de.etime|date_format:'%Y%m%d'}>" name="etime"><br/>请输入正确的时间格式,例如: 20120619。 
        </td>
    </tr>
    <tr>
        <td bgcolor="#EAEFF3">活动详情<font color="red"> *</font> </td>
        <td bgcolor="#FFFFFF">
            <script type="text/javascript" src="lib/fckeditor/fckeditor.js"></script>
            <script type="text/javascript">
                var oFCKeditor = new FCKeditor( 'detail' ) ;
                oFCKeditor.Config['ToolbarStartExpanded'] = true ;
                    <{if $config.language=='en'}>
                    oFCKeditor.Config['DefaultLanguage']='en';
                    <{else}>
                    oFCKeditor.Config['DefaultLanguage']='zh-cn';
                    <{/if}>
                    oFCKeditor.BasePath		= 'lib/fckeditor/' ;
                oFCKeditor.ToolbarSet	= 'frant' ;
                oFCKeditor.Width='100%';
                oFCKeditor.Height=400;
                <{if $de.detail}>
                oFCKeditor.Value = <{$de.detail}>;
            <{/if}>
                oFCKeditor.Create() ;
            </script>
        </td>
    </tr>
    
    
    <tr>
        <td bgcolor="#EAEFF3"></td>
        <td bgcolor="#FFFFFF">
            <input type="hidden" value="<{$de.id}>" name="id">
            <input type="submit" value="提交" name="add">
        </td>
    </tr>
            			
</table>
</form>